home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / printer.128 < prev    next >
Text File  |  1992-02-06  |  907b  |  36 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 printer line text wrap\
  7. \
  8. Q:  When I try to print an Edit file from a shell, my output consists of several very long lines (i.e., it does not word wrap).\
  9. \
  10. A:  Edit does not save return characters in its files, but uses the word wrap capability of the Application Kit's Text object to resize the lines to fit the window.  You can use the UNIX command 
  11. \i fmt
  12. \i0  to break the file into shorter lines.  
  13. \f1\fs24 \
  14. \
  15. % fmt 
  16. \i filename
  17. \i0  | lpr
  18. \f0\fs28 \
  19. \
  20. Also, the 
  21. \i enscript
  22. \i0  command will convert text files to PostScript format for printing. \
  23. See the man pages for 
  24. \i fmt
  25. \i0  and 
  26. \i enscript
  27. \i0  for more information.  \
  28. \
  29.     \
  30. QA128\
  31. \
  32. Valid for 1.0 \
  33. Valid for 2.0\
  34. \
  35.  
  36.